package A04_链表.A41_单向链表;

/**
 * 单向链表举例
 * @Author: KingWang
 * @Date: 2021/5/30
 * @Desc:
 **/
public class LinkedListDemo {

    public static void main(String[] args) {

        LinkedList list = new LinkedList();
        list.add(new LinkedNode(2,"java"));
        list.add(new LinkedNode(3,"scala"));
        list.add(new LinkedNode(4,"python"));

        list.show();
        list.print();

    }
}
